import instance from "@/http/index.js";

export default {
    getData(url, params = {}) {
        return instance.get(url, {
            params : params
        });
    },
    postData(url, params = {}) {
        return instance.post(url, {...params});
    },
}